<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $html->charset('UTF-8'); ?>
	<title>
		<?php __('Proyecto Mastergoal!!'); ?>  
		<?php echo $title_for_layout; ?>
	</title>
       <?php echo $html->css('oficial'); 
	
		if(isset($javascript)){
			echo $javascript->link('prototype.js');
			echo $javascript->link('scriptaculous.js');
			//echo $javascript->link('jquery.js');
		}
		echo $scripts_for_layout;
	?> 
</head>
	<body>
		<!-- Begin Wrapper -->
		<div id="wrapper">
			<!-- Begin Header -->
			<div id="header"></div>
			<!-- End Header -->
			<!-- Begin Navigation -->
			<div id="encabezadoVerde">
				<div id="imgEncabezado">
					<a class="encabezado" <?php echo $html->image('home1.gif', array('alt' => 'inicio', 'url' => array('controller' => 'users', 'action' => 'index')))?></a>
				
					<a class="encabezado" <?php echo $html->image('equipo.gif', array('alt' => 'equipo', 'url' => array('controller' => 'equipos', 'action' => 'index')))?></a>
				
					<a class="encabezado" <?php echo $html->image('foro.gif', array('alt' => 'foro', 'url' => array('controller' => 'temas', 'action' => 'index')))?></a>
				
					<a class="encabezado" <?php echo $html->image('torneo.gif', array('alt' => 'torneo', 'url' => array('controller' => 'torneos', 'action' => 'index')))?></a>
				
					<a class="encabezado" <?php echo $html->image('salas.gif', array('alt' => 'salas', 'url' => array('controller' => 'salas', 'action' => 'index')))?></a>

					<a class="encabezado" <?php echo $html->image('email.png', array('alt' => 'mail', 'url' => array('controller' => 'mensajes', 'action' => 'index')))?></a>

					<a class="encabezado" <?php echo $html->image('ayuda.gif', array('alt' => 'ayuda', 'url' => array('controller' => 'ayudas', 'action' => 'index')))?></a>
				
					<a class="encabezado" <?php echo $html->image('salir.gif', array('alt' => 'salir', 'url' => array('controller' => 'users', 'action' => 'logout')))?></a>
				</div>
			</div>
			<!-- End Navigation-->
			<div id="content"> 
				<?php $session->flash(); ?>
				<?php echo $content_for_layout; ?>
			</div>
			<div class="clear"></div>
			<div id="footer"> &copy; Copyright 2009 by Sofia Alvarenga, Isabel Ortiz, Martin Escobar, Juan Santa Cruz, Diego Bosch<br/>
				Ingenieria de Software 2009
			</div>
		</div>
		<!-- End Wrapper -->
		<?php echo $cakeDebug; ?>

	</body>
</html>

